package com.wlz.vo;

import java.math.BigDecimal;

public class  CalqtyCalcLedgerShardingModel {
    private String isbn;
    private String name;
    private BigDecimal money1;
    private BigDecimal money2;
    private BigDecimal money3;
    private BigDecimal money4;
    private BigDecimal money5;
    private boolean isSubtotal;
    private String remark;

    public CalqtyCalcLedgerShardingModel(String isbn, String name, BigDecimal money1, BigDecimal money2, BigDecimal money3, BigDecimal money4, BigDecimal money5) {
        this.isbn = isbn;
        this.name = name;
        this.money1 = money1;
        this.money2 = money2;
        this.money3 = money3;
        this.money4 = money4;
        this.money5 = money5;
        this.isSubtotal = false;
        this.remark = "";
    }

    public CalqtyCalcLedgerShardingModel(String isbn, String name, BigDecimal[] moneys, String remark) {
        this.isbn = isbn;
        this.name = name;
        this.money1 = moneys[0];
        this.money2 = moneys[1];
        this.money3 = moneys[2];
        this.money4 = moneys[3];
        this.money5 = moneys[4];
        this.isSubtotal = true;
        this.remark = remark;
    }

    public String getIsbn() { return isbn; }
    public String getName() { return name; }
    public BigDecimal getMoney1() { return money1; }
    public BigDecimal getMoney2() { return money2; }
    public BigDecimal getMoney3() { return money3; }
    public BigDecimal getMoney4() { return money4; }
    public BigDecimal getMoney5() { return money5; }
    public String getRemark() { return remark; }
    public void setRemark(String remark) { this.remark = remark; }
}